#ifndef DYNAMIC_SIMULATOR_H
#define DYNAMIC_SIMULATOR_H

#include "ElementContainer.h"
#include "VolumetricMeshLoader.h"

#define DENSITY	1

class DynamicSimulator
{
public:
	DynamicSimulator(void);
	~DynamicSimulator(void);
	void LoadVolumetricMesh(char* name);
	void InitElement();
	void InitKe();
	void InitMe();
	void CalDeterminant(float& a, float& b, float& c, float& d, Vertex* va, Vertex* vb, Vertex* vc);

	ElementContainer* simplex;
	VolumetricMeshLoader loader;

	float E;		// Young's modulus
	float mu;		// Poisson's ratio
};

#endif

